Skip to content

TASK: Add debug information to identify original event after rebase#5458

Merged
mhsdesign merged 1 commit intoneos:9.0from
mhsdesign:task/debug-information-for-original-event-during-publishing
Feb 21, 2025
Merged

TASK: Add debug information to identify original event after rebase#5458
mhsdesign merged 1 commit intoneos:9.0from
mhsdesign:task/debug-information-for-original-event-during-publishing

Conversation

@mhsdesign
Copy link
Copy Markdown
Member

Resolves second iteration of #3887

Followup to #5451

Upgrade instructions

Review instructions

Checklist

  • Code follows the PSR-2 coding style
  • Tests have been created, run and adjusted as needed
  • The PR is created against the lowest maintained branch
  • Reviewer - PR Title is brief but complete and starts with FEATURE|TASK|BUGFIX
  • Reviewer - The first section explains the change briefly for change-logs
  • Reviewer - Breaking Changes are marked with !!! and have upgrade-instructions

Copy link
Copy Markdown
Member

@nezaniel nezaniel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mhsdesign
Copy link
Copy Markdown
Member Author

We only add the original event information to the first event as other events like when one command yields multiple events for tethered nodes tied together Neos\ContentRepository\Core\Feature\RebaseableCommand::enrichWithCommand via causation id.

Also the metadata is always override during republishing but when looking at the events one can track sequence number by sequence number to the original root event.

@mhsdesign mhsdesign merged commit a8f79a4 into neos:9.0 Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants